/********************************************************************
	Copyright (C) 2006-2008 Lensow
	http://www.lensow.com
	Created:	2008/06/14   13:09
	Filename: 	x:\Lensow\Loplayer\src\app\FullscreenWnd.h
	Author:		Dean
	
	Purpose:	
*********************************************************************/

#pragma once

class CFullscreenWnd : public CWnd
{
	DECLARE_DYNAMIC(CFullscreenWnd)

public:
	CFullscreenWnd(CWnd* pMainFrame);
	virtual ~CFullscreenWnd();

	BOOL CreateFullWnd();
	void ShowCursor(bool bVisible);
protected:
	DECLARE_MESSAGE_MAP()
	
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL PreTranslateMessage(MSG* pMsg);

	CWnd*	m_pMainFrame;
	HCURSOR		m_hCursor;
	bool		m_bCursorVisible;
public:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
};
